﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

[DataContract]
public class LevelVoteInfo
{
    [DataMember]
    public string UserName { get; private set; }

    [DataMember]
    public int LevelId { get; private set; }

    [DataMember]
    public int VoteKind { get; private set; }

    [DataMember]
    public int Vote { get; private set; }


    public LevelVoteInfo(string userName, int levelId, int voteKind, int vote)
    {
        UserName = userName;
        LevelId = levelId;
        VoteKind = voteKind;
        Vote = vote;
    }
}
